---
title: "Config"
description: "Config API Documentation"
icon: "code"
github: "https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/config.py"
---

import {RandomGradientBackground} from "/snippets/gradient.jsx"

<Callout type="info" title="Source Code">
View the source code for this module on GitHub: <a href='https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/config.py' target='_blank' rel='noopener noreferrer'>https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/config.py</a>
</Callout>


## create_connector_from_config
<Card type="info">
### `function` create_connector_from_config

```python
from mcp_use.config import create_connector_from_config
```

**Parameters**
><ParamField body="args" required="True" >   Parameter value </ParamField>
><ParamField body="kwargs" required="True" >   Parameter value </ParamField>

**Signature**
```python wrap
def create_connector_from_config(args, kwargs):
```

</Card>


## load_config_file
<Card type="info">
### `function` load_config_file

```python
from mcp_use.config import load_config_file
```

**Parameters**
><ParamField body="args" required="True" >   Parameter value </ParamField>
><ParamField body="kwargs" required="True" >   Parameter value </ParamField>

**Signature**
```python wrap
def load_config_file(args, kwargs):
```

</Card>
